package org.sysdance.aplicativo.visao.tela.generica;

import javax.swing.JFrame;


@SuppressWarnings("serial")
public abstract class JanelaEdicao<T> extends Dialogo {
	
	private T registroEdicao;
	
	public JanelaEdicao(JFrame janelaPai, int width, int height) {
		super(janelaPai, width, height);
	}
	
	public final void setRegistroEdicao(final T registroEdicao){
		this.registroEdicao = registroEdicao;
	}
	
	public final T getRegistroEdicao(){
		return this.registroEdicao;
	}
	
	public abstract void carregarDadosTela();

}
